#pragma once
#include "BoundaryBuilder.h"
#include "SelectionSet.h"
#include "OffsetParamDialog.h"
#include "th_md.h"
#include "MSUtility.h"

class COffsetOperator :
	public CAddInBaseOperator
{
private:
	CBParaCurveBulider* m_lpbuilder;
	CdmEntityBase **m_entityArray;
	CSelectionSet *m_oLlpSelSet;
	bool m_flag;
	COffsetParamDialog* m_offsetParamDialog;
public:
	COffsetOperator(HDiMineView* view,IDMAddIn *addin);
	int EntityOffset(dmDbEntity *entity,double offset);
	virtual int OnLButtonDown(dmEventInfo &hevent); 
	virtual int Init();
	//void Resume(void* pUserData);
};
